Use transceiver instead of offerToReceiveVideo in no-media-call
diff --git a/webrtc/no-media-call.html b/webrtc/no-media-call.html index 8f4f596..0a15a37 100644 --- a/webrtc/no-media-call.html +++ b/webrtc/no-media-call.html
@@ -125,7 +125,8 @@ // The offerToReceiveVideo is necessary and sufficient to make // an actual connection. - gFirstConnection.createOffer({offerToReceiveVideo: true}) + gFirstConnection.addTransceiver('video', { direction: 'recvonly' }); + gFirstConnection.createOffer() .then(onOfferCreated, failed('createOffer')); }); </script>